<script setup lang="ts">
import { ref } from 'vue';
// const money = ref<number>(10)
// const money2 = ref(10)
type Todo = {
  id: number
  name: string
  done: boolean
}
const list = ref<Todo[]>([])

setTimeout(() => {
  list.value = [
    { id: 1, name: '吃饭', done: false },
    { id: 2, name: '睡觉', done: true }
  ]
})
</script>

<template>
    
</template>

<style scoped>
</style>
